package com.angel.dao.health;

import com.angel.core.base.BaseMapper;
import com.angel.health.BuzMedical;
import com.angel.health.BuzMedicalExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface BuzMedicalMapper extends BaseMapper<BuzMedical>{
    int countByExample(BuzMedicalExample example);

    int deleteByExample(BuzMedicalExample example);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(BuzMedical record);

    List<BuzMedical> selectByExample(BuzMedicalExample example);

    BuzMedical selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BuzMedical record, @Param("example") BuzMedicalExample example);

    int updateByExample(@Param("record") BuzMedical record, @Param("example") BuzMedicalExample example);

    int updateByPrimaryKey(BuzMedical record);
    
    List<BuzMedical> selectAllMedicalAndDepartment(BuzMedical record);
    
}